package com.gxa.modules.pc.sys.usermanager.dto;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @ClassName SysUser
 * @Description
 * @Author Mr.YUAN
 * @Date 2022/11/18 21:33
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sys_t_user")
@ApiModel(value = "User对象", description = "用户表")
public class UserPcDto {

    @ApiModelProperty("用户ID")
    private Integer id;

    @ApiModelProperty("用户名")
    @TableField("user_name")
    private String userName;

    @ApiModelProperty("账户")
    @TableField("account")
    private String account;

    @ApiModelProperty("角色")
    @TableField("name")
    private String roleName;

    @ApiModelProperty("电话号码")
    @TableField("phone")
    private String phone;

    @ApiModelProperty("状态，1：启用，0不启用")
    @TableField("status")
    private Integer status;

    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private Date createTime;

    @ApiModelProperty("密码")
    @TableField("user_password")
    private String userPassword;

//    @ApiModelProperty("是否删除 0-正常 1-被删除")
//    @TableField("is_delete")
//    @TableLogic
//    private Integer isDelete;
}